//
//  UIButton+Extension.h
//  WHYWeibo-OC
//
//  Created by 王洪运 on 15/11/22.
//  Copyright © 2015年 王洪运. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (WHYExtension)

/// 根据参数返回一个Button
///
/// @param image         图片名
/// @param backImage     背景图片名
/// @param title         标题
/// @param titleColor    标题颜色
/// @param font          标题字体大小
/// @param state         Button状态
///
/// @return Button
+(instancetype)buttonWithImage:(NSString *)image backImage:(NSString *)backImage title:(NSString *)title titleColor:(UIColor *)titleColor font:(CGFloat)font forState:(UIControlState)state;

@end
